package me.huha.zhime.commons;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Title: OrderInfoDTO
 * @Author: Yepx
 * @mail: yepx2013@gmail.com
 * @CreateTime: 2017年10月25日 上午11:37:20
 * @Todo: 订单基本信息
 */
public class OrderInfoDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7485192511414695266L;
	
	private String orderNum;		  //订单号
	private String goodName;		  //商品名称
	private BigDecimal orderAmount;	  //订单金额
	private Date orderCreate;		  //订单创建时间
	private Date orderClose; 		  //订单关闭时间
	private String payType;		  	  //订单支付类型
	private String wxPayIp;			  //微信支付必须的客户端ip
	
	 public enum PayType {
	        /** 微信 **/
	        weixin,
	        /** 支付宝 */
	        alipay
	    }
	 
	public String getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}
	public String getGoodName() {
		return goodName;
	}
	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}
	public BigDecimal getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}
	public Date getOrderCreate() {
		return orderCreate;
	}
	public void setOrderCreate(Date orderCreate) {
		this.orderCreate = orderCreate;
	}
	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Date getOrderClose() {
		return orderClose;
	}
	public void setOrderClose(Date orderClose) {
		this.orderClose = orderClose;
	}
	public String getWxPayIp() {
		return wxPayIp;
	}
	public void setWxPayIp(String wxPayIp) {
		this.wxPayIp = wxPayIp;
	}
}
